FROM mysql/mysql-server:8.0.32

MAINTAINER tdf(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY 4.init/1schema.sql /docker-entrypoint-initdb.d

COPY 4.init/2tdfx_sys.sql /docker-entrypoint-initdb.d

COPY 4.init/3tdfx_flow.sql /docker-entrypoint-initdb.d

COPY 4.init/4tdfx_job.sql /docker-entrypoint-initdb.d

COPY 4.init/5tdfx_mp.sql /docker-entrypoint-initdb.d

COPY 4.init/6tdfx_config.sql /docker-entrypoint-initdb.d

COPY 4.init/7tdfx_pay.sql /docker-entrypoint-initdb.d

COPY 4.init/8tdfx_codegen.sql /docker-entrypoint-initdb.d

COPY 4.init/99tdfx_bi.sql /docker-entrypoint-initdb.d

COPY 4.init/999tdfx_app.sql /docker-entrypoint-initdb.d
